package com.itht.baoleme.domain.web;

public enum StatusEnum {

    UNPAY(0, "已下单未支付"),
    WAIT_DELIVER(1, "已支付待发货"),
    WAIT_CONFIRM(2, "已发货待收货"),
    WAIT_COMMENT(3, "已经确认收获，待评价"),
    FINISHED(4, "已完成订单"),
    GOOD_ORDER(5, "优质订单");

    // 有什么状态 0:已下单未支付 1：已支付待发货 2：已发货待收货 3：已经确认收获，待评价 4：已完成订单
    /**
     * 订单状态
     */
    private Integer status;
    /**
     * 描述
     */
    private String desc;

    StatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
